package com.fortune.service;

import com.fortune.dto.in.cReturnDeposit.CReturnAddDepositDto;
import com.fortune.vo.cReturnDeposit.CReturnDeposit;
import com.fortune.vo.cReturnDeposit.CReturnDepositDetail;
import com.fortune.vo.cReturnDeposit.RefundDetails;
import com.fortune.vo.cReturnDeposit.VReturnDepositOverview;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/5/29 0029.
 */
public interface CReturnDepositService {

    List<CReturnDeposit> findCReturnDepositList(Integer type,String did,String id);

    List<RefundDetails> findCReturnProList(String id);

    CReturnDepositDetail findCReturnDepositDetail(String id,String clientId,String did);

    VReturnDepositOverview findVReturnDepositOverview(String did,String id);

    int deleteReturnDeposit(String id,String did,String cid);

    int apply(CReturnAddDepositDto dto,String did,String cid,String id);

    int delCReturnDeposit(@Param("did") String did, @Param("clientId") String clientId, @Param("returnDepositId") String returnDepositId);
}
